package com.oocl.reservedparkingsystembackend.mapper;

import com.oocl.reservedparkingsystembackend.model.dto.ParkingLotRequest;
import com.oocl.reservedparkingsystembackend.model.dto.ParkingLotResponse;
import com.oocl.reservedparkingsystembackend.model.entity.ParkingLot;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper(componentModel = "spring")
public interface ParkingLotMapper {
    ParkingLotMapper INSTANCE = Mappers.getMapper(ParkingLotMapper.class);
    ParkingLotResponse toParkingLotResponse(ParkingLot parkingLot);
    ParkingLot toParkingLot(ParkingLotRequest parkingLotRequest);
}
